import http from "@/utils/request";

export default {
    //获取
    async getSjbbbList(pageNo, pageSize, startDate, endDate) {
        return await http.get("/api/sjbbb/listToSjbbb", { pageNo, pageSize, startDate, endDate });
    },
    //新增
    async addSjbbb(params) {
        return await http.post("/api/sjbbb/add", params);
    },
    //修改
    async updateSjbbb(params) {
        return await http.put("/api/sjbbb/update", params)
    },
    //删除
    async deleteSjbbb(params) {
        return await http.delete("/api/sjbbb/delete/{id}", params)
    },
};
